// 注册页面
import request from '../request/request';


// 注册
export const register = (nickname, tel, password, sex, imgUrl, serial = '') => {
  return request({
    url: '/User/register',
    method: 'post',
    data: {
      nickname,
      tel,
      password,
      sex,
      imgUrl,
      serial
    },
  });
};

